<?php
namespace app\common\validate;

use think\Validate;

class Emotion extends Validate
{
    protected $rule = [
        'title|表情名称'  =>  'require|max:25',
        'cid|表情分类'  =>  'require',
        'img|表情原图'  =>  'require',
        'thumbnail|表情缩略图'  =>  'require',
        'sort|排序'  =>  'require|between:1,99',
        'status|状态'  =>  'in:0,1',
    ];
}